package 抽象工厂.impl;

import 抽象工厂.Department;
import 抽象工厂.Factory;
import 抽象工厂.User;

/**
 *
 */
public class FactoryOne implements Factory {

    @Override
    public User createUser() {
        return new UserOne();
    }

    @Override
    public Department createDepartment() {
        return new DepartmentOne();
    }
}
